package com.coding.service;

import com.coding.base.pojo.BaseModel;
import com.coding.pojo.Video;
import org.springframework.web.multipart.MultipartFile;

/**
 * @auther wangchenghao
 * @date 2020/7/26
 **/
public interface VideoService {
    void addVideo(Video video, BaseModel model) throws Exception;
    void upVideo(Video video,BaseModel model) throws Exception;
    void deleteVideo(Video video,BaseModel model) throws Exception;
    void getVideo(Video video,BaseModel model) throws Exception;
    void getVideobyid(int video_id,BaseModel baseModel)throws Exception;
    Video setVideo(MultipartFile file) throws Exception;
    void getVideobyname(String name,BaseModel model)throws Exception;
    void getVideobytag(String tag,BaseModel model)throws Exception;
}
